package com.jie.netty.cline;


import com.jie.netty.message.NoticeInfoMessage;
import com.jie.netty.sender.IMSender;
import lombok.AllArgsConstructor;
import org.springframework.context.annotation.Configuration;


@Configuration
@AllArgsConstructor
public class IMClient {

    private final IMSender imSender;

    /**
     * 发送全体公告消息
     */
    public <T> void sendAllNotice(NoticeInfoMessage message){
        imSender.sendAllNoticeInfo(message);
    }


}
